<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title><?php include_slot('title', '.:: Pronos ::. Pronostics Coupe du Monde FIFA 2010 ') ?></title>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php include_javascripts() ?>
    <?php include_stylesheets() ?>
  </head>
  <body>
    <div id="container">
      <div id="header">
		<div class="corner"><img src="/pronos/images/coin_fifa2.png" /></div>
        <div class="content">
          <h1><a href="<?php echo url_for('@homepage') ?>" style="font-size: 32pt;">Pronos 2010</a></h1>
        </div>
		<div class="mascotte"><img src="/pronos/images/mascotte.png" /></div>
      </div>
 
  <?php if ($sf_user->isAuthenticated()): ?>
      <div id="menu">
        <ul>
		  <li><?php echo link_to('Classement', 'pronos_user') ?></li>
          <li><?php echo link_to('Equipes', 'pronos_team') ?></li>
          <li><?php echo link_to('Groupes', 'pronos_group') ?></li>
          <li><?php echo link_to('Matches P1', 'pronos_p1_match') ?></li>
          <li><?php echo link_to('Pronostics P1', 'pronos_p1_pronos') ?></li>
          <li><?php echo link_to('Logout', 'sf_guard_signout') ?></li>
        </ul>
      </div>
 <?php endif ?>
   <?php if (!$sf_user->isAuthenticated()): ?>
      <div id="menu">
        <ul>
          <li><?php echo link_to('Login', 'sf_guard_signin') ?></li>
		  <li><?php echo link_to('Register', 'register') ?></li>
        </ul>
      </div>
 <?php endif ?>
 
      <div id="content">
        <?php if ($sf_user->hasFlash('notice')): ?>
          <div class="flash_notice">
            <?php echo $sf_user->getFlash('notice') ?>
          </div>
        <?php endif ?>
 
        <?php if ($sf_user->hasFlash('error')): ?>
          <div class="flash_error">
            <?php echo $sf_user->getFlash('error') ?>
          </div>
        <?php endif ?>
 
        <div class="content">
          <?php echo $sf_content ?>
        </div>
      </div>
 
      <div id="footer">
        <div class="content">
          <span class="symfony">
            <img src="/images/jobeet-mini.png" />
            powered by <a href="http://www.symfony-project.org/">
            <img src="/images/symfony.gif" alt="symfony framework" />
            </a>
          </span>
          <ul>
            <li><a href="">About Pronos</a></li>
            <li class="feed"><a href="">Full feed</a></li>
            <li><a href="">Pronos API</a></li>
            <li class="last"><a href="">Affiliates</a></li>
          </ul>
        </div>
      </div>
    </div>
  </body>
</html>
